window: Use gtk_synthesize_crossing_events
authorMatthias Clasen <mclasen@redhat.com>
Thu, 7 Mar 2019 04:40:29 +0000 (23:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Mar 2019 01:24:45 +0000 (21:24 -0400)
commit4238a04c7be9717ae8efc1debd709b10a82f9268
tree07c87b0385d164981f0d2f805d4a9dd1e0a5168d
parentadb547a1478738828c09595f848b6105328df5bc
window: Use gtk_synthesize_crossing_events

Emit focus change events in the same way as crossing events.
Also change the code to only emit focus change events for
the master keyboard - we only maintain a single focus location,
so sending multiple focus change events for different devices
seems confusing.
gtk/gtkwindow.c